//
//  ViewController.m
//  iOSdrawDemo
//
//  Created by wanglei on 17/3/7.
//  Copyright © 2017年 wanglei. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor yellowColor];
    CGRect frame = CGRectMake(10, 30, 350, 620);
    DrawBoard *board = [[DrawBoard alloc]initWithFrame:frame];
    [self.view addSubview:board];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
